package cn.javass.dp.visitor.example1;

public class ConcreateVisitor1 implements  Visitor {
    @Override
    public void visitConcreteElementA(ConcreateElementA element) {
        element.operationA();
    }

    @Override
    public void visitConcreteElementB(ConcreateElementB element) {
        element.operationB();
    }
}
